/*
 * @Description: 
 * @Author: Zhang Zhangda
 * @Date: 2021-02-23 17:35:25
 * @LastEditTime: 2021-02-26 12:37:23
 * @LastEditors: 张凌瑞
 */
import React, { Suspense, FC } from 'react';
import { BrowserRouter } from "react-router-dom";
import RouterView from "./RouterView"
import routerConfig from "./routerConfig"
let Index: FC = function () {
  return <BrowserRouter>
    <Suspense fallback={ <img style={{width:'100%',height:"50%"}} src="https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fwww.gzthsg.com%2Ftemplate_xin%2Fmingxingbao%2Fimg%2Fmxb.gif&refer=http%3A%2F%2Fwww.gzthsg.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1616753235&t=6f2a8eef1ad45764482b991dab6c7f5d" alt=""/>}>
      <RouterView routes={routerConfig} ></RouterView>
     
    </Suspense>
  </BrowserRouter>


}
export default Index
